package com.zkthink.ceres.app.register.controller;

import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName RegisterController
 * @Description: RegisterController
 * @Author zxw
 * @Date 2021/1/5
 * @Version V1.0
 **/

@Slf4j
@Validated
@AllArgsConstructor
@Controller
@Api(value = "注册服务", tags = "注册服务")
public class RegisterController {
    /**
     * 下载app
     * @param model
     * @return
     */
    @GetMapping("/register")
    public String register() {
        return "index.html";
    }

    /**
     * 分享注册
     * @return
     */
    @GetMapping("/shareRegister")
    public String shareRegister() {
        return "index.html";
    }

    @GetMapping("/adminShareRegisterTest")
    public String adminShareRegisterTest() {
        return "demo3.html";
    }


    @GetMapping("/im")
    public String im() {
        return "im/index.html";
    }

    /**
     * 店铺分享
     *
     * @return
     */
    @GetMapping("/shopGetQRCode")
    public String shopGetQRCode() {
        return "index.html";
    }
}
